-
Notifications
You must be signed in to change notification settings - Fork 35
Update shared example to support pip/conda lib #202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the shared C++ examples to support multiple installation methods for the SVS library, specifically adding support for pip and conda packages alongside the existing tarball release method. The changes simplify the workflow when using pip/conda installations by automatically detecting installed packages and falling back to tarball download when needed.
Key changes:
- Added automatic detection of system/conda/pip SVS installations before downloading tarball
- Updated documentation to include installation and usage instructions for conda and pip methods
- Simplified library linking by using CMake targets instead of manual library finding
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| examples/cpp/shared/README.md | Added documentation for conda and pip installation methods with usage examples, reorganized content into three installation options |
| examples/cpp/shared/CMakeLists.txt | Implemented automatic SVS package detection with fallback to tarball download, updated library linking to use CMake targets |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.